package com.leyou.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leyou.item.dto.CategoryDTO;
import com.leyou.entity.Category;

import java.util.List;

public interface CategoryService extends IService<Category> {
    CategoryDTO getCategoryByCategoryId(long id);

    List<CategoryDTO> getCategoriesByList(List ids);

    List<CategoryDTO> getCategoriesByBrandId(Long id);

    List<CategoryDTO> getCategoriesByPid(Long pid);
}
